import { createRouter, createWebHashHistory, createWebHistory, createMemoryHistory } from 'vue-router'
import Welcome from '../components/Welcome.vue'
import Login from '../components/Login.vue'
import Registe from '../components/Registe.vue'
import Merchant from '../components/Merchant.vue'

const router = createRouter({
    history: createWebHashHistory(),
    routes: [
        { path: "/", redirect: "/welcome" },
        { path: "/welcome", component: Welcome },
        { path: "/login", component: Login },
        { path: "/registe", component: Registe },
        { path: "/merchant", component: Merchant }
    ]
})
export default router